type github.com/google/go-cmp/cmp.textRecord
37 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L147: list = append(list, textRecord{Diff: '-', Value: outx})
report_compare.go#L150: list = append(list, textRecord{Diff: '+', Value: outy})
report_compare.go#L268: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L316: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L328: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L340: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L351: list = append(list, textRecord{Diff: diffRemoved, Key: formatKey(r.Key), Value: outx})
report_compare.go#L355: list = append(list, textRecord{Diff: diffInserted, Key: formatKey(r.Key), Value: outy})
report_compare.go#L360: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_reflect.go#L206: list = append(list, textRecord{Key: sf.Name, Value: s})
report_reflect.go#L239: list = append(list, textRecord{Value: s})
report_reflect.go#L273: list = append(list, textRecord{Key: sk, Value: sv})
report_reflect.go#L337: list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
report_reflect.go#L341: list = append(list, textRecord{Diff: opts.DiffMode, Value: textEllipsis, ElideComma: true, Comment: comment})
report_reflect.go#L344: list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(line), ElideComma: true})
report_reflect.go#L346: list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
report_slices.go#L166: func(v reflect.Value, d diffMode) textRecord {
report_slices.go#L168: return textRecord{Diff: d, Value: textLine(s)}
report_slices.go#L195: list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
report_slices.go#L233: list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
report_slices.go#L256: func(v reflect.Value, d diffMode) textRecord {
report_slices.go#L258: return textRecord{Diff: d, Value: textLine(s)}
report_slices.go#L268: func(v reflect.Value, d diffMode) textRecord {
report_slices.go#L275: return textRecord{Diff: d, Value: textLine(s), Comment: comment}
report_slices.go#L300: func(v reflect.Value, d diffMode) textRecord {
report_slices.go#L315: return textRecord{Diff: d, Value: textLine(s)}
report_slices.go#L359: makeRec func(reflect.Value, diffMode) textRecord,
report_text.go#L141: type textList []textRecord
report_text.go#L142: type textRecord struct {
report_text.go#L157: *s = append(*s, textRecord{Value: textEllipsis, ElideComma: true, Comment: ds})
report_text.go#L159: *s = append(*s, textRecord{Value: textEllipsis, ElideComma: true})
report_text.go#L240: func(r textRecord) bool {
report_text.go#L244: func(r textRecord) int { return utf8.RuneCountInString(r.Key) },
report_text.go#L247: func(r textRecord) bool {
report_text.go#L251: func(r textRecord) int { return utf8.RuneCount(r.Value.(textLine)) },
report_text.go#L313: skipFunc func(textRecord) bool,
report_text.go#L314: lenFunc func(textRecord) int,